﻿<%@ WebHandler Language="C#" Class="tbivy" %>

using System;
using System.Web;

public class tbivy : IHttpHandler {
    
    public void ProcessRequest (HttpContext context) {
        object top_appkey = context.Request.QueryString["top_appkey"];
        object top_session = context.Request.QueryString["top_session"];
        if (top_appkey == null || top_session == null)
        {
            context.Response.Redirect("http://container.api.taobao.com/container?appkey=21627525");
        }
        else
        {
            string topAppkey = top_session.ToString();
            string topSession = top_session.ToString();
            context.Response.Write("sessionKey=" + top_session);
        }
    }
    public bool IsReusable {
        get {
            return false;
        }
    }

}